﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;

//using Microsoft.VisualStudio.TestTools.UnitTesting;

//using invrt;

//namespace Pibby.Core.IO.Tests
//{
//    [TestClass]
//    public class DriveFinderTests
//    {
//        [TestInitialize]
//        public void Setup()
//        {
//            InversionOfController.Factory.RegisterType<IDriveFactory, Stubs.DriveFactory>();
//        }

//        [TestMethod]
//        public void DriveFinder_FindDriveLetter_UnknownDrive_ReturnsNull()
//        {
//            Assert.IsNull (DriveFinder.FindDrive("G"));
//        }

//        [TestMethod]
//        public void DriveFinder_FindDriveLetter_KnownDrive_ReturnsDrive()
//        {
//            IDrive cDrive = DriveFinder.FindDrive("C:\\");

//            Assert.IsNotNull(cDrive);
//            Assert.AreEqual(System.IO.DriveType.Fixed, cDrive.DriveType);
//            Assert.AreEqual("C:\\", cDrive.Name);
//            Assert.AreEqual("WINDOWS", cDrive.VolumeLabel);
//        }
	
//    }
//}
